package com.home.demo;

public class Circle {
   private double radius;
   private String  color;
   
   public Circle(){
	   
   }
   
   public Circle(double r){
	   radius = r;
   }
   
   public Circle(double r,String c){
	   radius = r;
	   color = c;
   }
   
   public double getRadius(){
	   return radius;
   }
   
   public String getColor(){
	   return color;
   }
   
   public void setRadius(double r){
	   radius = r;
   }
   
   public void setColor(String c){
	   color = c;
   }
   
   public double getArea(){
	   return radius*radius*Math.PI;
   }
   
   public String toString(){
	   return "Circle[radius="+radius+",color="+color+"]";
   }
}









